package com.llkj.youdaocar.push;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

import com.llkj.youdaocar.BuildConfig;
import com.umeng.message.UmengNotifyClickActivity;
import org.android.agoo.common.AgooConstants;

public class MipushTestActivity extends UmengNotifyClickActivity {
    private static String TAG = MipushTestActivity.class.getName();

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
    }

    @Override
    public void onMessage(Intent intent) {
        super.onMessage(intent);
        final String body = intent.getStringExtra(AgooConstants.MESSAGE_BODY);
        if(BuildConfig.DEBUG) {
            Log.e("Log", "===Mipush=====" + body);
        }
        finish();
    }
}
